﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{
    /// <summary>
    /// 产品折扣实体类
    /// </summary>
    public class PDiffPrice
    {
        public PDiffPrice()
        { }
        #region Model
        private string _itemcode;
        private decimal _qty;
        private string _type;
        private decimal _discount;
        private decimal? _price;
        /// <summary>
        /// 产品在ERP中的编码
        /// </summary>
        public string ItemCode
        {
            set { _itemcode = value; }
            get { return _itemcode; }
        }
        /// <summary>
        /// 当前计价的起始数量
        /// </summary>
        public decimal Qty
        {
            set { _qty = value; }
            get { return _qty; }
        }
        /// <summary>
        /// 分量计价模式：0-折扣率；1-折扣价，暂时不实现
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 折扣率
        /// </summary>
        public decimal Discount
        {
            set { _discount = value; }
            get { return _discount; }
        }
        /// <summary>
        /// 价格,暂时不实现
        /// </summary>
        public decimal? Price
        {
            set { _price = value; }
            get { return _price; }
        }
        #endregion Model

    }
}
